using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class HowToPlay : DialogBase
{
    [SerializeField]
    private GameObject InfoPage;
    [SerializeField]
    private GameObject ControlPage;

    [SerializeField]
    private Button InfoButton;
    [SerializeField]
    private Button ControlButton;

    private void Start()
    {
        InfoPut();
    }
    public void InfoPut()
    {
        ControlPage.SetActive(false);
        InfoPage.SetActive(true);
        InfoButton.interactable = false;
        ControlButton.interactable = true;
    }
    public void ControlPut()
    {
        InfoPage.SetActive(false);
        ControlPage.SetActive(true);
        InfoButton.interactable = true;
        ControlButton.interactable = false;
    }

}
